package com.shooter.server;

import com.alibaba.fastjson.JSONObject;
import com.shooter.dao.DbConfig;
import com.shooter.note.Action;
import com.shooter.utils.upload.File;
import com.shooter.utils.upload.UploadFile;

import javax.servlet.annotation.WebServlet;
import java.io.IOException;
import java.util.ArrayList;

/**
 * Created by BLACK on 2018/3/27.
 */
@WebServlet("/call/common/*")
public class CommonServlet extends BaseHttpServlet {

    @Action()
    public void error_404(JSONObject json, ServletDispose dispose) {
        json.put(ServiceApi.CODE, ServiceApi.CODE_NO);
        json.put(ServiceApi.MSG, ServiceApi.ERROR_NO_PATH);
    }

}
